package com.nf.health.app.activity.doctor_advice.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by fei on 2016/11/24.
 */

public class AdviceDetail implements Serializable{


    /**
     * createtime : 1479986403000
     * medication : [{"everyDayNum":"55","medicineMethod":"外用","medicineName":"155555","medicineTime":"餐前","onceNum":"2","totalDay":"1","unit":"付"}]
     * questionList : [{"answer":null,"surveytime":"2017-11-24","question":[{"num":"1","question":"规划好"},{"num":"2","question":"号是多少了哈哈哈哈"},{"num":"3","question":"图太可怜了"}]}]
     * department :
     * healthPackagename :
     * chinesediagnose : null
     * remarks : 哦哦lollKKK咯啦啦咯啦咯啦咯啦咯
     * westerndiagnose : null
     * doctornick :
     */

    private long createtime;
    private String department;
    private String healthPackagename;
    private String chinesediagnose;
    private String remarks;
    private String westerndiagnose;
    private String doctornick;

    /**
     * everyDayNum : 55
     * medicineMethod : 外用
     * medicineName : 155555
     * medicineTime : 餐前
     * onceNum : 2
     * totalDay : 1
     * unit : 付
     */

    private List<MedicationBean> medication;
    /**
     * answer : null
     * surveytime : 2017-11-24
     * question : [{"num":"1","question":"规划好"},{"num":"2","question":"号是多少了哈哈哈哈"},{"num":"3","question":"图太可怜了"}]
     */

    private List<QuestionListBean> questionList;

    public long getCreatetime() {
        return createtime;
    }

    public void setCreatetime(long createtime) {
        this.createtime = createtime;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getHealthPackagename() {
        return healthPackagename;
    }

    public void setHealthPackagename(String healthPackagename) {
        this.healthPackagename = healthPackagename;
    }

    public String getChinesediagnose() {
        return chinesediagnose;
    }

    public void setChinesediagnose(String chinesediagnose) {
        this.chinesediagnose = chinesediagnose;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getWesterndiagnose() {
        return westerndiagnose;
    }

    public void setWesterndiagnose(String westerndiagnose) {
        this.westerndiagnose = westerndiagnose;
    }

    public String getDoctornick() {
        return doctornick;
    }

    public void setDoctornick(String doctornick) {
        this.doctornick = doctornick;
    }

    public List<MedicationBean> getMedication() {
        return medication;
    }

    public void setMedication(List<MedicationBean> medication) {
        this.medication = medication;
    }

    public List<QuestionListBean> getQuestionList() {
        return questionList;
    }

    public void setQuestionList(List<QuestionListBean> questionList) {
        this.questionList = questionList;
    }

    public static class MedicationBean {
        private String everyDayNum;
        private String medicineMethod;
        private String medicineName;
        private String medicineTime;
        private String onceNum;
        private String totalDay;
        private String unit;

        public String getEveryDayNum() {
            return everyDayNum;
        }

        public void setEveryDayNum(String everyDayNum) {
            this.everyDayNum = everyDayNum;
        }

        public String getMedicineMethod() {
            return medicineMethod;
        }

        public void setMedicineMethod(String medicineMethod) {
            this.medicineMethod = medicineMethod;
        }

        public String getMedicineName() {
            return medicineName;
        }

        public void setMedicineName(String medicineName) {
            this.medicineName = medicineName;
        }

        public String getMedicineTime() {
            return medicineTime;
        }

        public void setMedicineTime(String medicineTime) {
            this.medicineTime = medicineTime;
        }

        public String getOnceNum() {
            return onceNum;
        }

        public void setOnceNum(String onceNum) {
            this.onceNum = onceNum;
        }

        public String getTotalDay() {
            return totalDay;
        }

        public void setTotalDay(String totalDay) {
            this.totalDay = totalDay;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }
    }

    public static class QuestionListBean {
        private Object answer;
        private String surveytime;
        private String id;
        private String state;
        /**
         * num : 1
         * question : 规划好
         */

        private List<QuestionBean> question;
        private boolean openStatuis = false;

        public Object getAnswer() {
            return answer;
        }

        public void setAnswer(Object answer) {
            this.answer = answer;
        }

        public String getSurveytime() {
            return surveytime;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getState() {
            return state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public void setSurveytime(String surveytime) {
            this.surveytime = surveytime;
        }

        public List<QuestionBean> getQuestion() {
            return question;
        }

        public void setQuestion(List<QuestionBean> question) {
            this.question = question;
        }

        public boolean isOpenStatuis() {
            return openStatuis;
        }

        public void setOpenStatuis(boolean openStatuis) {
            this.openStatuis = openStatuis;
        }

        public static class QuestionBean {
            private String num;
            private String question;
            private String ans;

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getQuestion() {
                return question;
            }

            public void setQuestion(String question) {
                this.question = question;
            }

            public String getAns() {
                return ans;
            }

            public void setAns(String ans) {
                this.ans = ans;
            }
        }
    }
}